package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "专利信息")
public class BusinessPatent implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "专利类型")
    private Integer type;
    @ApiModelProperty(value = "专利类型名称")
    private String typeName;
    @ApiModelProperty(value = "专利申请公布号")
    private String publishCode;
    @ApiModelProperty(value = "专利发布日期")
    private Date releaseDate;
    @ApiModelProperty(value = "专利摘要")
    private String summary;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "专利图")
    private String imageUrl;
    @ApiModelProperty(value = "申请号")
    private String applicationCode;
    @ApiModelProperty(value = "申请日期")
    private Date applyDate;
    @ApiModelProperty(value = "申请人")
    private String applicant;
    @ApiModelProperty(value = "发明人")
    private String inventor;
    @ApiModelProperty(value = "专利代理机构")
    private String agency;
    @ApiModelProperty(value = "代理人")
    private String agent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public String getPublishCode() {
        return publishCode;
    }

    public void setPublishCode(String publishCode) {
        this.publishCode = publishCode == null ? null : publishCode.trim();
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getApplicationCode() {
        return applicationCode;
    }

    public void setApplicationCode(String applicationCode) {
        this.applicationCode = applicationCode;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getInventor() {
        return inventor;
    }

    public void setInventor(String inventor) {
        this.inventor = inventor;
    }

    public String getAgency() {
        return agency;
    }

    public void setAgency(String agency) {
        this.agency = agency;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    @Override
    public String toString() {
        return "BusinessPatent{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", typeName='" + typeName + '\'' +
                ", publishCode='" + publishCode + '\'' +
                ", releaseDate=" + releaseDate +
                ", summary='" + summary + '\'' +
                ", enterId=" + enterId +
                ", imageUrl='" + imageUrl + '\'' +
                ", applicationCode='" + applicationCode + '\'' +
                ", applyDate=" + applyDate +
                ", applicant='" + applicant + '\'' +
                ", inventor='" + inventor + '\'' +
                ", agency='" + agency + '\'' +
                ", agent='" + agent + '\'' +
                '}';
    }
}